package com.sealer.pattern.behavioral.state;

/**
 * Created by sealer on 17/04/09.
 */
public class Context {
    private State state;

    public Context(State state) {
        this.state = state;
    }

    public void doAction() {
        this.state.doAction();
    }


    public State getState() {
        return state;
    }

    public void setState(State state) {
        this.state = state;
    }
}
